﻿using System;

namespace enyo.db8
{
    public class MergeIdsParam : DbParam
    {
        /// <summary>
        /// Array of IDs and properties to update. Either this or "query" is required.
        /// </summary>
        public object[] Objects;
    }

    public class MergeQueryParam : DbParam
    {
        /// <summary>
        /// Query specifying set of objects to merge properties into. Either this or "objects" is required.
        /// </summary>
        public Query Query;

        /// <summary>
        /// Requires "query". Set of properties to merge into existing object(s) from query.
        /// </summary>
        public object Props;
    }
}
